﻿namespace RookieGrow.Domain.SportsStore
{
    public class DefaultDiscounter : IDiscounter
    {
        public decimal DiscountSize { get; set; }
        
        public decimal ApplyDiscount(decimal totalPrice)
        {
            return (totalPrice - (DiscountSize / 100m * totalPrice));
        }
    }
}
